import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;

public class Main
{
    public static void main(String[] args)
    {
	File f = new File("input.txt");
	if (!f.exists())
	{
	    try
	    {
		FileOutputStream new_file = new FileOutputStream("input.txt");
		try
		{
		    new_file.close();
		}
		catch (IOException e1)
		{
		    // TODO Auto-generated catch block
		    e1.printStackTrace();
		}
	    }
	    catch (FileNotFoundException e1)
	    {
		// TODO Auto-generated catch block
		e1.printStackTrace();
	    }
	}
	try
	{
	    BufferedReader br = new BufferedReader(new FileReader("input.txt"));
	    BufferedWriter wr = new BufferedWriter(new FileWriter("output.txt")) ;
	    String curr_line;
	    while ((curr_line = br.readLine()) != null){
	    	String[] x = curr_line.split("-");
	    	String[] headers = new String[]{"name:","country:","age:"};  	     	
	     		for(int i=0;i<x.length&&i<headers.length;i++){
	     		wr.write(headers[i]+" "+x[i]);
	     		wr.newLine();
	     	}
	    }
	    wr.close();
	}
	catch (IOException e2)
	{
	    e2.printStackTrace();
	}

    }
}
